package com.gxa.autoparts.admin.service;

import com.gxa.autoparts.core.exception.BusinessException;
import com.gxa.autoparts.core.pojo.Order;
import com.gxa.autoparts.core.service.BaseService;

import java.util.List;
import java.util.Map;

public interface OrderService extends BaseService<Order> {
    List<Map> selectAllOrder(String seriaLnNumber, String state, String userName, String phone, String time1, String time2, Integer pge, Integer size) throws BusinessException;
    Map selectOrderById(Long id);
    List<Map> selectGoodsById(Long id);
    List<Map> selectAllOrder2(String seriaLnNumber, String state, String userName, String phone,
                              String time1, String time2);
    Order getStateBySerial(Long serial);
}
